<ion-content>

<ion-grid style="width:85%">
  <ion-row>
    <div size="8" offset="2" style="margin-top:40%;width:100%;text-align: center;">
      <img src="assets/icon/favicon.png" width=50 />
      <p>Ionic5 demo</p>
      <p></p>
    </div>
  </ion-row>

  <ion-row style="margin-top:10%;">
    <ion-col size="12">
      <ion-input class="login-input" placeholder="账号" type="text" [(ngModel)]="userName"></ion-input>
      <ion-input class="login-input" placeholder="密码" type="password" [(ngModel)]="password"></ion-input>
      <ion-button color="primary" expand="block" style="margin-top:26px;" (click)="login()">登 录</ion-button>
    </ion-col>
  </ion-row>
  
</ion-grid>
<div style="height: 5px;">
  
</div>
<p style="width:100%;text-align:center;color:#999;">Ionic5 demo</p>
</ion-content>

